#ifndef _BEAR_GAME_SCENE_H_
#define _BEAR_GAME_SCENE_H_

#include "cocos2d.h"
#include "BackgroundLayer.h"
#include "GameLayerManager.h"
#include "PhysicsLayer.h"
#include "MenuLayer.h"
#include "OptionMenuLayer.h"
#include "ScoreLayer.h"
#include "EndLayer.h"

USING_NS_CC;

class GameScene : public CCScene, public GameLayerManager
{
  public:
    virtual ~GameScene();
    bool init();
    static GameScene * create();

    virtual void stopGame();
    virtual void pauseGame();
    virtual void resumeGame();
    virtual void startGame();
    virtual void exitGame();
    virtual void endGame();
    virtual void retryGame();
    virtual void refreshScore(ScoreType type, int value);

  private:
    GameScene();
    BackgroundLayer * pBackgroundLayer;
    PhysicsLayer * pPhysicsLayer;
    MenuLayer * pMenuLayer;
    OptionMenuLayer * pOptionMenuLayer;
    ScoreLayer * pScoreLayer;
    EndLayer * pEndLayer;
};

#endif
